Remount /media/system as read-only before unmounting it

I cannot explain why, but the next mount of the system partition as
read-only will fail if it was read-write at the moment of unmounting.
This could be a kernel bug or some really subtle behavior.