The effect of ground and first excited state transitions on transistor laser relative intensity noise