editors/amp: fix build on powerpc
(cherry picked from commit 19ca79a76acec400a96d8dd3dd14fdc8aaad35d0)