Lagrangian formulation of massive fermionic higher spin fields on a constant electromagnetic background