Pakistan court grants bail to largest media group owner