Mark a few functions const.
Reviewed By: Itms Differential Revision: https://code.wildfiregames.com/D499