parser: fix building with link time optimization (lto)
Libapparmor was fixed for lto builds on commit 7cde91f5 but the parser was also failing due to the same reasons when lto was enabled.
Fixes: #214 (closed) Signed-off-by: Georgia Garcia georgia.garcia@canonical.com