Supergravity analysis of the hybrid inflation model from a D3-D7 system