Enhancement of photonic spin Hall effect via bound states in the continuum