The Queensland Police Union is under fire for offering a loan to an officer accused of domestic violence.