Fix NULL pointer dereference in psmove_calibration_new()

Thanks to Pravin Bhat for the bug report and fix suggestion.