Fix base path used when resolving assets

Sprockets::Context#pathname is the full path to the current file being
processed, not the directory containing it.