Add const to bevy_math functions where applicable (#24752)