Approximate Message Passing Algorithms For Generalized Bilinear Inference