Oceanside’s City Council has approved a loan of up to $65 million in state bond proceeds for a developer building the eight-story, 179-apartment Seagaze affordable housing project.