sanity.bbclass: Fix COREBASE sanity tests

We need to expand the COREBASE variable, no idea how these tests were
previously working at all...

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>