[math] prevent division by zero in INT32_QUAT_NORMALIZE