Update MAVLinkPayload.java

Need to type cast long and int on masks otherwise you'll get signed extension in java. I believe the byte order should also be swapped but I haven't had time to confirm for sure.