An Efficient Power Allocation Algorithm for Green Reconfigurable Intelligent Surface Assisted Vehicular Network