An extremely rare first edition of JK Rowling's debut Harry Potter novel has sold for a hefty price after going under the hammer in the UK.