gen_component: fix a possible race condition in receive_state_if_alive/3
gen_component: fix a possible race condition in receive_state_if_alive/3

scalaris-team/scalaris,scalaris-team/scalaris,jvf/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,caijieming-baidu/scalaris,jvf/scalaris,jvf/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,jvf/scalaris,caijieming-baidu/scalaris,caijieming-baidu/scalaris,jvf/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,jvf/scalaris,jvf/scalaris