Gruffudd Maelor ap Madog ap Maredudd, king of Powys