Spin-photovoltaic effects induced by the edge magnetism in a graphene nanoribbon junction